#include <Arduino.h>
#include <Wire.h>
#include "SSD1306Wire.h"
#include "HX711.h"
#include "onewire.h"
#include "DS18B20.h"
//屏幕初始化
SSD1306Wire display(0x3c, SDA, SCL); // ADDRESS, SDA, SCL

float A = 0;

void setup()
{
  //屏幕初始化
  display.init();
  display.flipScreenVertically();
  display.setFont(ArialMT_Plain_16);
  display.setTextAlignment(TEXT_ALIGN_LEFT);

}

void loop()
{
  // clear the display
  display.clear();
  display.drawString(0, 0, "raw :");
  display.drawString(0, 20, "weight :");
  // DS18B20_ConvertT();
  // A=DS18B20_ReadT();
  display.drawString(0, 40, String(A));
  display.display();
}
